# def fact(n):
#     if n <= 1:
#         fac = 1
#     else:
#         fac = n * fact(n - 1)
#     return fac
#
#
# n = int(input('n='))
# print(fact(n))
# for i in range(1,1000):
#     print('I Love You')
# import os
#
# print(os.getcwd())
# os.makedirs('A')  # 在当前路径下新建文件夹
# file = open("a.txt", "w", encoding="utf-8")
# a = file.write("我爱你")
# file.close()
#
# with open('a.txt', 'r', encoding='utf-8') as f:
#     b = f.read()
#     print(b)
#

# c语言中文网
class Student:
    compay = 'SXT'

    def __init__(self, name, score):
        self.name = name
        self.score = score

    def say_score(self):
        print('我的公司是', Student.compay)
        print(self.name, '我的分数是', self.score)


s1 = Student('张三', 100)
s1.say_score()
print(str(Student))
